package ooday03;
/**雇员超类*/
public abstract class Employee {
    String name;
    int age;
   double salary;
    Employee(String name,int age,double salary){
        this.name=name;
        this.age=age;
        this.salary=salary;
    }
    void clockIn(){//上班打卡
        System.out.println(name+",今年"+age+"岁了,工资"+salary+"元,正在上班打卡!");
    }
    abstract void  CompletesTheWork();//完成工作抽象方法
    void clockOut(){//下班打卡
        System.out.println(name+",今年"+age+"岁了,工资"+salary+"元,正在下班打卡!");
    }

}
